package day04;

/**
 * Created by Shinelon on 2016/9/16.
 */
public class HouseWork {
    public static void main(String[] args){
        int a= 2;
        int c= 3;
        boolean t1,t2,t3;
        t1=a<c||++a<c;
        System.out.println("t1=" + t1 + ",a="+a);//t2
        t2=a>c&&a++<c;
        System.out.println("t2="+t2+"a="+a);//f2
        t3=a>c|a++<c;
        System.out.println("t3="+t3+"a="+a);//t3
//        c =a++*3;    //c=9
//        System.out.println("a="+a);//a=4
//        System.out.println("c="+c);//c=9
//        c=++a*3;//a=(a+1) *3 =z=15
//        System.out.println("a="+a);//5
//        System.out.println("c="+c);//15
//        c=a--*3;//c=a*3 = 15 a=a-1 =4
//        System.out.println("a="+a);//
//        System.out.println("c="+c);
//        c=--a*3;//a=a-1  c=a*3
//        System.out.println("a="+a);
//        System.out.println("c="+c);

    }
}
